package app.project.streetlensproject.util;

import app.project.streetlensproject.model.Place;

public class GoogleMapUtil {

	public static GoogleMapUtil instance;

	public static GoogleMapUtil getInstance() {
		if (instance == null) {
			instance = new GoogleMapUtil();
		}

		return instance;
	}
	
	/**get place near by my place from google map
	 * @param myPlace
	 * @return
	 */
	public Place getNearByPlace(Place myPlace,int radius,int type){
		String url="https://maps.googleapis.com/maps/api/place/radarsearch/json?location="+myPlace.locationx+","+myPlace.locationy+"&radius="+radius+"&types=food|cafe";
		return null;
	}
	
}
